package com.situ.b2c.pojo;

public class Address extends Base {
	
	private Long userId; //对应用户表中的主键id
	private Integer provinceCode; //省编号
	private Integer cityCode;
	private Integer districtCode;
	private String userName; // 联系人名称
	private String addrName; //详细地址
	private String userPhone; //联系人电话
	private Integer addrDefault; //是否默认地址，只能有一个  1:默认，0不默认
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getProvinceCode() {
		return provinceCode;
	}
	public void setProvinceCode(Integer provinceCode) {
		this.provinceCode = provinceCode;
	}
	public Integer getCityCode() {
		return cityCode;
	}
	public void setCityCode(Integer cityCode) {
		this.cityCode = cityCode;
	}
	public Integer getDistrictCode() {
		return districtCode;
	}
	public void setDistrictCode(Integer districtCode) {
		this.districtCode = districtCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAddrName() {
		return addrName;
	}
	public void setAddrName(String addrName) {
		this.addrName = addrName;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public Integer getAddrDefault() {
		return addrDefault;
	}
	public void setAddrDefault(Integer addrDefault) {
		this.addrDefault = addrDefault;
	}
	@Override
	public String toString() {
		return "Address [userId=" + userId + ", provinceCode=" + provinceCode + ", cityCode=" + cityCode
				+ ", districtCode=" + districtCode + ", userName=" + userName + ", addrName=" + addrName
				+ ", userPhone=" + userPhone + ", addrDefault=" + addrDefault + "]";
	}

	
	

	

}
